<template>
<onekit-page>
<onekit-view onekit-class="container">
	<div is="onekit-template-head" :DATA="`${JSON.stringify({title:'view' + x})}`"></div>
	<onekit-view onekit-class="page-body">
		<onekit-view onekit-class="page-section">
			<onekit-view onekit-class="page-section-title">
				<onekit-text>flex-direction: row\n横向布局</onekit-text>
			</onekit-view>
			<onekit-view onekit-class="page-section-spacing">
				<onekit-view onekit-class="flex-wrp" onekit-style="flex-direction:row;">
					<onekit-view onekit-class="flex-item demo-text-1"></onekit-view>
					<onekit-view onekit-class="flex-item demo-text-2"></onekit-view>
					<onekit-view onekit-class="flex-item demo-text-3"></onekit-view>
				</onekit-view>
			</onekit-view>
		</onekit-view>
		<onekit-view onekit-class="page-section">
			<onekit-view onekit-class="page-section-title">
				<onekit-text>flex-direction: column\n纵向布局</onekit-text>
			</onekit-view>
			<onekit-view onekit-class="flex-wrp" onekit-style="flex-direction:column;">
				<onekit-view onekit-class="flex-item flex-item-V demo-text-1"></onekit-view>
				<onekit-view onekit-class="flex-item flex-item-V demo-text-2"></onekit-view>
				<onekit-view onekit-class="flex-item flex-item-V demo-text-3"></onekit-view>
			</onekit-view>
		</onekit-view>
	</onekit-view>
	<div is="onekit-template-foot"></div>
</onekit-view>
</onekit-page></template>
<script>
/* eslint-disable */
import Vue from 'vue';
import onekit_template_0 from '../../../../page/common/head.head.vue';Vue.component('onekit-template-head',onekit_template_0);
import onekit_template_1 from '../../../../page/common/foot.foot.vue';Vue.component('onekit-template-foot',onekit_template_1);
const ONEKIT_JSON= {
  "navigationBarTitleText": "view",
  "usingComponents": {
    
  }
};
const ONEKIT_SJS = {
};
import wx from '../../../../../weixin2vue/wx.js';
import Macro from '../../../../../weixin2vue/Macro.js';
const {getApp,getCurrentPages} = Macro;
import Page from '../../../../../weixin2vue/OnekitPage.js';
import Component from '../../../../../weixin2vue/OnekitComponent.js';
export default Page(ONEKIT_JSON,[],ONEKIT_SJS,{
    "data":{
        "x":1
},
    "onShareAppMessage"(){
      return {
        "title":'view',
        "path":'page/component/pages/view/view'
};
    }
});

</script>
<style 
 lang="css">
.flex-wrp {
  margin-top: 30px ;
  display:flex ;
}
.flex-item {
  width: 100px ;
  height: 150px ;
  font-size: 13px ;
}
.flex-item-V {
  margin: 0 auto ;
  width: 150px ;
  height: 100px ;
}
</style>